import 'package:flutter/cupertino.dart';
import '../../repository/api.dart';
import '../../repository/datas/ShareListdata.dart';

/// 分享列表api类
class SubpackModel with ChangeNotifier {
  // 分享列表
  List<ShareListdata>? sharelist = [];


  // 获取分享列表
  Future getSharedataList({required String ID}) async {
    sharelist = await Api.instance.getshareList(ID: ID);
    notifyListeners();
  }

}